<?php

spl_autoload_register(function($class_name, $file_extensions = null){
    echo $class_name;
});

class A
{
    public function say()
    {
        return "i'm a\r\n";
    }
}

class_alias("A","B",false);

$b=new B;
echo $b->say();
echo B::class ."\r\n";
